﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.LightSwitch;
namespace LightSwitchApplication
{
    public partial class PatientCommit
    {
        partial void CommitSummery_Compute(ref string result)
        {

            result =  ((this.PatientDetails != null) ? this.PatientDetails.FullName : "") + " " + this.Description + "\n" + this.DateOfEntrance + " - " + this.DateOfRelease;  
        }
    }
}
